Skip to content

Conversation

@x3c41a
Copy link
Contributor

@x3c41a x3c41a commented Nov 17, 2025

authorize_and_store.js but with PAPI

Terminal 1

# Run Bulletin chain 
POLKADOT_BULLETIN_BINARY_PATH=./target/release/polkadot-bulletin-chain ./zombienet-macos-arm64 -p native spawn ./zombienet/bulletin-polkadot-local.toml

Terminal 2

# Start IPFS daemon
./kubo/ipfs daemon

Terminal 3

# The connection is unstable, we need to constantly reconnect
./scripts/ipfs-reconnect-solo.sh

Terminal 4

# Run authorize and store with PAPI
npm install
npm run papi:generate
cd examples
node authorize_and_store_papi.js

@x3c41a x3c41a marked this pull request as draft November 17, 2025 16:29
…ing that content by CID from IPFS - does not. Investigating why...
@x3c41a x3c41a changed the title PAPI + Smoldot script PAPI + IPFS script Nov 19, 2025
@x3c41a x3c41a marked this pull request as ready for review November 20, 2025 08:17
Copy link
Collaborator

@bkontur bkontur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@x3c41a very good, working as expected, I just changed that we don't wait for finalized block to speed it up - it is ok for testing and I hope this will be unblock me with testing here: #100

@bkontur bkontur merged commit bb0d238 into main Nov 20, 2025
5 of 6 checks passed
@bkontur bkontur deleted the auth_papi branch November 20, 2025 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants